package com.grgbanking.it.wx.entity;

/**
 * 主动微信信息 
 * JSON格式
 * 
 * WXMessage
 * 
 * @author 潘广伟
 * @Email p_3er@qq.com
 * @Date 2014-11-5 上午11:35:13
 * 
 * @version 1.0.0
 * 
 */
public class WXMessage {
	private String touser;
	private String toparty;
	private String totag;
	private String msgtype;
	private Integer agentid;
	private WXTextMessage text;
	private String safe;
	
	public WXMessage(Integer agentId){
		this.agentid = agentId;
	}

	public String getTouser() {
		return touser;
	}

	public void setTouser(String touser) {
		this.touser = touser;
	}

	public String getToparty() {
		return toparty;
	}

	public void setToparty(String toparty) {
		this.toparty = toparty;
	}

	public String getTotag() {
		return totag;
	}

	public void setTotag(String totag) {
		this.totag = totag;
	}

	public String getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}

	public Integer getAgentid() {
		return agentid;
	}

	public void setAgentid(Integer agentid) {
		this.agentid = agentid;
	}

	public WXTextMessage getText() {
		return text;
	}

	public void setText(WXTextMessage text) {
		this.text = text;
	}

	public String getSafe() {
		return safe;
	}

	public void setSafe(String safe) {
		this.safe = safe;
	}

}
